//  main.c
//  test_1_3.1
//  Created by 陆叁柒 on 2023/1/3.

//BC84-计算Y的值

#include <stdio.h>

int main()
{
    int x = 0;
    int y = 0;
    scanf("%d",&x);
    if(x < 0)
        printf("1\n");
    if(x == 0)
        printf("0\n");
    if(x > 0)
        printf("-1\n");
        
    return 0;
}
